package com.tubang.logistics.vo;

import com.tubang.common.vo.BaseVo;

/**
 * <p>
 * 
 * </p>
 *
 * @author wsl
 * @since 2017-11-21
 */
@SuppressWarnings("serial")
public class MessageVo extends BaseVo {
	/**
     * 消息内容
     */
	private String content;
    /**
     * 标题
     */
	private String title;
    /**
     * 消息类型
     * 10000-通知；10002-待办；10003-公告
     */
	private String category;
	/**
	 * 消息类型描述
	 * 10000-通知；10002-待办；10003-公告
	 */
	private String categoryDesc;
	/**
	 * 发消息人
	 */
	private String fromUserName;
    /**
     * 发送消息人id
     */
	private String fromUserId;
    /**
     * 接收消息人id
     */
	private String toUserId;
    /**
     * 消息状态是否已读
     * 1已读，0未读
     */
	private String statusFlag;


	public String getContent() {
		return content;
	}

	public MessageVo setContent(String content) {
		this.content = content;
		return this;
	}

	public String getTitle() {
		return title;
	}

	public MessageVo setTitle(String title) {
		this.title = title;
		return this;
	}

	public String getCategory() {
		return category;
	}

	public MessageVo setCategory(String category) {
		this.category = category;
		return this;
	}

	public String getCategoryDesc() {
		return categoryDesc;
	}

	public MessageVo setCategoryDesc(String categoryDesc) {
		this.categoryDesc = categoryDesc;
		return this;
	}

	public String getFromUserName() {
		return fromUserName;
	}
	
	public MessageVo setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
		return this;
	}
	
	public String getFromUserId() {
		return fromUserId;
	}

	public MessageVo setFromUserId(String fromUserId) {
		this.fromUserId = fromUserId;
		return this;
	}

	public String getToUserId() {
		return toUserId;
	}

	public MessageVo setToUserId(String toUserId) {
		this.toUserId = toUserId;
		return this;
	}

	public String getStatusFlag() {
		return statusFlag;
	}

	public MessageVo setStatusFlag(String statusFlag) {
		this.statusFlag = statusFlag;
		return this;
	}

	@Override
	public String toString() {
		return "Message{" +
			"content=" + content +
			", title=" + title +
			", category=" + category +
			", categoryDesc=" + categoryDesc +
			", fromUserName=" + fromUserName +
			", fromUserId=" + fromUserId +
			", toUserId=" + toUserId +
			", statusFlag=" + statusFlag +
			"}";
	}}
